using System;
using System.Collections.Generic;
using LinFu.IoC.Configuration;

namespace CoreEx.Samples.DomainModel.Implementation
{
	[Implements(typeof(ITerritory))]
	[Serializable]
	public class Territory : ITerritory
	{

		#region Private Members

		private readonly IList<IEmployeeTerritory> _employeeTerritories = new List<IEmployeeTerritory>();

		#endregion

		public string TerritoryID { get; set; }
		public string TerritoryDescription { get; set; }
		public IList<IEmployeeTerritory> EmployeeTerritories 
		{
			get { return _employeeTerritories; }
		}
		public IRegion Region { get; set;}
	}
}
